from pathlib import Path


# SECURITY WARNING: don't run with debug turned on in production!

DEBUG = True


# Database
# https://docs.djangoproject.com/en/3.2/ref/settings/#databases

BASE_DIR = Path(__file__).resolve().parent.parent
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': 'digitalintelligenceengineering',
        'USER': 'root',
        # 本地开发
        'PASSWORD': 'Lx@0#5$7%7',
        # 'PASSWORD': 'Gztt@0851',
        'OPTIONS': {
            "init_command": "SET default_storage_engine='INNODB'"
        },
        # 'HOST': '127.0.0.1',

        'HOST': '124.222.68.119',
        'PORT':'3306',
        # 'PORT':'3336'

    }
}
